package com.shunli.cterminal.enums;

import com.examples.core.enums.BaseEnum;
import com.examples.core.enums.EnumOperations;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @className: BizStyleTypeEnum
 * @description: TODO
 * @author: DAIYALU
 * @date: 2024/6/11
 * @version: 1.0
 */
@Getter
@AllArgsConstructor
public enum BizStyleTypeEnum implements BaseEnum<String> {

    PUT_IN("1","投放"),
    OPERATIONS("2","运营");

    private final String code;

    private final String desc;

    public static BizStyleTypeEnum ofCodeNoisy(String code) {
        return EnumOperations.getByCodeNoisy(BizStyleTypeEnum.class, code);
    }
}
